package priv.yiyuan.example.design;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;

/**
 * 需要适配的文件读取类
 *
 * @author YiYuan
 * @data 2025/8/8
 * @apoNote
 */
public class LegacyFileReader {

    public byte[] readFileBytes(String filePath) throws IOException {
        return Files.readAllBytes(Paths.get(filePath));
    }

}
